package com.vm.osm.business.dto.rsp.failOrder;

import com.vm.osm.business.dto.req.evaluate.ReqEvaluate;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * Created by chenzui on 2018/2/5.
 */
@Data
public class RspFailOrderDetail {

    @ApiModelProperty(value = "主键")
    String id;
    @ApiModelProperty(value = "工单号")
    String order_nbr;

    @ApiModelProperty(value = "故障标题")
    String failure_title;
    @ApiModelProperty(value = "故障类别名称")
    String failure_type_name;
    @ApiModelProperty(value = "故障类别ID")
    String failure_type_id;
    @ApiModelProperty(value = "故障等级")
    String priority_id;
    @ApiModelProperty(value = "故障描述")
    String simple_desc;
    @ApiModelProperty(value = "设备ID")
    String device_id;

    @ApiModelProperty(value = "故障对象")
    String device_name;
    @ApiModelProperty(value = "故障时间")
    Date create_time;

    @ApiModelProperty(value = "图片URL,多个图片用英文逗号隔开")
    String photo_urls;
    @ApiModelProperty(value = "联系人")
    String link_man;
    @ApiModelProperty(value = "联系电话")
    String link_phone;
    @ApiModelProperty(value = "预约施工时间")
    Date appointment_time;
    @ApiModelProperty(value = "地点")
    String location;
    @ApiModelProperty(value = "经度")
    String location_x;
    @ApiModelProperty(value = "纬度")
    String location_y;
    @ApiModelProperty(value = "故障单解决方案")
    OrderFailDealLog order_fail_deal_log;
    @ApiModelProperty(value = "故障单解决图片")
    List<OrderSolutionPhoto> photos;
    @ApiModelProperty(value = "故障单费用信息")
    List<OrderFeeInfo> fee_infos;
    @ApiModelProperty(value = "配件信息")
    List<OrderAccessoryInfo> accessory_infos;
    @ApiModelProperty(value = "工单流程信息")
    List<OrderFlowInfo> flow_infos;
    @ApiModelProperty(value = "状态")
    String status;
    @ApiModelProperty(value = "是否外部工单1是0否")
    String is_from_out;
    @ApiModelProperty(value = "员工ID")
    String accept_staff_id;
    @ApiModelProperty(value = "故障等级")
    String level_desc;

    @ApiModelProperty(value = "评价")
    ReqEvaluate evaluate;

    @ApiModelProperty(value = "处理人")
    String accept_staff_name;

    @ApiModelProperty(value = "处理人电话")
    String accept_staff_phone;

    @ApiModelProperty(value = "提交员工ID")
    String submit_staff_id;

    String company_id;

    String company_name;

    @ApiModelProperty(value = "处理时长")
    Double deal_long_time;
}
